﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    internal sealed class Teacher
    {
        public readonly string name="胡哥";
        private int age=0;
        internal static string gender="男";
        public string teachMajor = "软件应用技术";

        public void TeacherInfo()
        {
            Console.WriteLine("姓名:"+name);
            Console.WriteLine("年龄:" + age);
            Console.WriteLine("性别:" + gender);
            Console.WriteLine("教授专业:" + teachMajor);
        }
    }

}
